package com.kehutong.contact.entity;

import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

/**
 * @author liujinwang
 * description:
 */
@Table(value="t_contact_comment", comment="联系人动态评论", multi=true, idType = IDType.TIMESTAMP)
public class ContactComment extends Entity {

    private static final long serialVersionUID = 1752059047834535504L;

    protected ContactComment(String id) {
        super(id);
    }

    @Column(comment = "评论内容", length = 256)
    private String comment;

    @Column(comment = "联系人id")
    private String contactId;

    @Column(comment = "跟进id")
    private String contactDynamicsId;

    @Column(comment = "评论人ID")
    private String userNo;

    @Column(comment = "评论人")
    private String userName;

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getContactId() {
        return contactId;
    }

    public void setContactId(String contactId) {
        this.contactId = contactId;
    }

    public String getContactDynamicsId() {
        return contactDynamicsId;
    }

    public void setContactDynamicsId(String contactDynamicsId) {
        this.contactDynamicsId = contactDynamicsId;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
